//
//  MHDetailLocationViewModel.m
//  MiaoCircle
//
//  Created by 许正荣 on 2018/10/24.
//  Copyright © 2018年 acgera. All rights reserved.
//

#import "MHDetailLocationViewModel.h"

@implementation MHDetailLocationViewModel
-(void)initialize
{
    [super initialize];
    self.title = @"位置";
    self.interactivePopDisabled = YES;
    if (self.showSelet) {
        self.rightTitle = @"确定";
    }
    self.compoleteSubject = [RACSubject subject];
}

- (instancetype)initWithServices:(id<MHViewModelServices>)services params:(NSDictionary *)params{
    if (self = [super initWithServices:services params:params]) {
        self.location = params[MHViewModelUtilKey];
        self.showSelet = [params[MHViewModelCommonModelUtilKey] boolValue]; 
    }
    return self;
}
@end
